package com.amigo.online.consumer.video.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.amigo.online.common.core.response.Response;
import com.amigo.online.common.param.dto.pay.PayPromoteDto;

@FeignClient(name = "amigo-online-provider-video")
public interface PromoteService {

	@RequestMapping(value = "/promote/getExpectedViewAmount/{money}/{type}", method = RequestMethod.GET)
	ResponseEntity<Response> getExpectedViewAmount(@PathVariable Integer money,@PathVariable Integer type);

	@RequestMapping(value = "/promote/getMyPromoteInfo/{page}/{size}", method = RequestMethod.GET)
	ResponseEntity<Response> getMyPromoteInfo(@PathVariable Integer page,@PathVariable Integer size);

	@RequestMapping(value = "/promote/getPromoteOrderDetail/{promoteOrderId}", method = RequestMethod.GET)
	ResponseEntity<Response> getPromoteOrderDetail(@PathVariable Long promoteOrderId);
	
	@RequestMapping(value = "/promote/addPromote", method = RequestMethod.POST)
	ResponseEntity<Response> addPromote(PayPromoteDto dto);
	

}
